//
//  ViewController.m
//  scanMoveDemo
//
//  Created by John.lee on 2021/12/23.
//

#import "ViewController.h"
#import "EasyRadarView.h"
@interface ViewController ()
@property(nonatomic,strong)EasyRadarView *radarViewLoading;
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
   
    
    [self creatLoading];
    
    
}
-(void)creatLoading
{
    _radarViewLoading = [[EasyRadarView alloc]initWithFrame:CGRectMake(0, 0, OSScreenWidth, OSScreenHeight)];
    _radarViewLoading.circleIncrement = 2;
    _radarViewLoading.centerViewRadius = 30;
    _radarViewLoading.centerViewImage = @"photo";
    _radarViewLoading.bgImage = [UIImage new];
    _radarViewLoading.pointImages = @[@"photo0",@"photo1",@"photo2",@"photo3",@"photo4"];
    [self.view addSubview:self.radarViewLoading];
}
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [self.radarViewLoading addPointView];
}
@end
